home *** CD-ROM | disk | FTP | other *** search
- global ConsoleOutput
-
- on put xpr
- if stringp(xpr) then
- addAt(ConsoleOutput, 1, "--" && xpr)
- else
- addAt(ConsoleOutput, 1, "--" && string(value(xpr)))
- end if
- if count(ConsoleOutput) > 20 then
- deleteAt(ConsoleOutput, count(ConsoleOutput))
- end if
- set the text of field "ConsoleField" to ConsoleOutput[1] & RETURN & the text of field "ConsoleField"
- end
-